Removed site navigation from licenses/ and publicdomain/ on print #484
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes
Description
This pull request hides the site and in-page navigation from pages in
licenses/
andpublicdomain/
when printed. I've tested my changes in Firefox, Chrome, Opera, and Microsoft Edge.Technical details
I added a media query to hide the sitewide header and footer elements when printed to
base.css
.Tests
To verify:
Screenshots
Before
Site Header
![image](https://private-user-images.githubusercontent.com/137253577/377599169-35fab8f1-143d-4025-9a0a-7b2b61ccaa95.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mjk0Mjg2MzAsIm5iZiI6MTcyOTQyODMzMCwicGF0aCI6Ii8xMzcyNTM1NzcvMzc3NTk5MTY5LTM1ZmFiOGYxLTE0M2QtNDAyNS05YTBhLTdiMmI2MWNjYWE5NS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQxMDIwJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MTAyMFQxMjQ1MzBaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT03OTY4MTk5ODA3YjJhZmRhYTI1MTYyYmM0YmVlMWM0YTkzNmYyODU5YjNiZmE2YmRkNTVlMDc5NjdiNTc0OTgwJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.-bz3UJcQq-HwnnuDZYPOByGEhv_uYokaSyy3-n3Hc-E)
![image](https://private-user-images.githubusercontent.com/137253577/377599273-a819f966-6489-4d80-a607-94b9f70ed531.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mjk0Mjg2MzAsIm5iZiI6MTcyOTQyODMzMCwicGF0aCI6Ii8xMzcyNTM1NzcvMzc3NTk5MjczLWE4MTlmOTY2LTY0ODktNGQ4MC1hNjA3LTk0YjlmNzBlZDUzMS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQxMDIwJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MTAyMFQxMjQ1MzBaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1hYTIwM2ZiMzYxNDdhYzFjNzg4YTFkNTkyZGRmNTE0ZDIyMTBjZmVhOTRjMzBhZmMzYzQ5NWM3NmU2NWEzOTVhJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.uktDsMNNzIyCBj-BRnOIUUwMR3y0LyddnhDY66-Msc0)
![image](https://private-user-images.githubusercontent.com/137253577/377599380-a826af15-d31a-4413-81e1-1aa1c9a3b6dd.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mjk0Mjg2MzAsIm5iZiI6MTcyOTQyODMzMCwicGF0aCI6Ii8xMzcyNTM1NzcvMzc3NTk5MzgwLWE4MjZhZjE1LWQzMWEtNDQxMy04MWUxLTFhYTFjOWEzYjZkZC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQxMDIwJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MTAyMFQxMjQ1MzBaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0wMDIyNWRlYWQzZGNiYzAyMDY3ZGExN2U0YzRmNTIyNzU2MzUxY2UzZDM4Y2RjMjA2OWM0Mzg5OGMwMTdmNmMzJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.C8IV6vI9OFus_2qHNLqX6IOrVXBb2WLNmPHjlO2brno)
Site Footer
In page navigation
After
No site header
![image](https://private-user-images.githubusercontent.com/137253577/377598738-df7af3c9-bbeb-412b-bf1a-1901ea199a61.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mjk0Mjg2MzAsIm5iZiI6MTcyOTQyODMzMCwicGF0aCI6Ii8xMzcyNTM1NzcvMzc3NTk4NzM4LWRmN2FmM2M5LWJiZWItNDEyYi1iZjFhLTE5MDFlYTE5OWE2MS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQxMDIwJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MTAyMFQxMjQ1MzBaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT04ZDlhMDI3MTAzZjFmNjkxZGEzODIzOTc5Nzk0YjM1YzZkY2Q4ZmFlN2M3ODlmOWQ4NWUzNjUxMjVkODJlZjVjJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.qm3ubsGEtAqk9bK3f4WVk7H3KzLL_wzGyQNla4P4ctE)
![image](https://private-user-images.githubusercontent.com/137253577/377598830-e653b4d6-ad78-464d-b2ed-4202911888e3.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mjk0Mjg2MzAsIm5iZiI6MTcyOTQyODMzMCwicGF0aCI6Ii8xMzcyNTM1NzcvMzc3NTk4ODMwLWU2NTNiNGQ2LWFkNzgtNDY0ZC1iMmVkLTQyMDI5MTE4ODhlMy5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQxMDIwJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MTAyMFQxMjQ1MzBaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1kMDQzNTNhNTI4MjdhNGRkZDY0YzZmZjk1OGMyMTAxMjk0ZDcxYTJmZTkwZjJmMjUxYWU1YjU0ZjVjMGMxMTE0JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.z9utUqH7mF7ZiPSfSk86geK9tvz16q-tqI2bCTNq-Mk)
![image](https://private-user-images.githubusercontent.com/137253577/377599003-7efb2cbc-87a6-4be7-abcb-ff1542703d98.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mjk0Mjg2MzAsIm5iZiI6MTcyOTQyODMzMCwicGF0aCI6Ii8xMzcyNTM1NzcvMzc3NTk5MDAzLTdlZmIyY2JjLTg3YTYtNGJlNy1hYmNiLWZmMTU0MjcwM2Q5OC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQxMDIwJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MTAyMFQxMjQ1MzBaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0yNWEwMjY1ZDI2NWE1NGY3NDU4ZjU1YjRjMDY4NjdjOWM1NTg3ZWYyYzM5YTIwNGM1ZGQ2MjZiYTk2NmY5NWMyJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.Qw9xa_MpY-R7aE0Fewg39rJs5DHugoK7fDwq0pmI7IU)
No site footer
No side navigation
Checklist
Update index.md
).main
ormaster
).visible errors.
Developer Certificate of Origin
For the purposes of this DCO, "license" is equivalent to "license or public domain dedication," and "open source license" is equivalent to "open content license or public domain dedication."
Developer Certificate of Origin